Processing method and system for identifying data by an audio conversion device

ABSTRACT

A processing method for identifying data by an audio conversion device includes: connecting the audio conversion device to a first terminal; sending an identification code stored in the audio conversion device to the first terminal, and sending the identification code to a server via the first terminal, wherein the identification code is used to identify the audio conversion device; obtaining user data; uploading the user data to the server, such that the server stores a correspondence between the identification code and the user data; connecting the audio conversion device to a second terminal; sending the identification code stored in the audio conversion device to the second terminal; sending a data obtaining request containing the identification code to the server; and receiving the user data sent corresponding to the identification code in response to the data obtaining request, or receiving multimedia data matching multimedia using feature information in the user data.

CROSS REFERENCE APPLICATIONS

This application is a continuation of U.S. Ser. No. 14/888,066 filedOct. 29, 2015, which is a 371 of International ApplicationPCT/CN2015/079803 filed May 26, 2015, which claims the benefit ofChinese Patent Application No. 201410265947.5, titled as “Processingmethod and system for identifying data by an earphone”, filed on Jun.13, 2015, the disclosure of which is incorporated herein in its entiretyby reference.

FIELD OF THE INVENTION

The present invention relates to a field of computer technologies, andmore particularly relates to a processing method and a system foridentifying data by an audio conversion device.

BACKGROUND OF THE INVENTION

Nowadays, mobile phones are able to be connected to the Internet. A usercan login a server by entering an ID code and a password on a mobilephone, and obtain music data from the server. By this way, the user canenjoy a differentiated music service provided by the server. Forinstance, an ordinary-quality music downloading service can be providedto ordinary users, while a high-quality music downloading service isprovided to users who pay.

However, it is cumbersome and not convenient for the user to login theserver by entering the ID code and the password on the mobile phoneevery time to store corresponding music data and obtain the music datawhen needed. Even though it can be more convenient for the user toautomatically login the server by recording the ID code and thepassword, the user still has to reenter the ID code and the passwordwhen he uses another mobile phone, which leads to a bad user experience.

SUMMARY OF THE INVENTION

Accordingly, it is necessary to provide a simple and convenientprocessing method and a system for identifying data by an audioconversion device.

A processing method for identifying data by an audio conversion device,comprising:

connecting the audio conversion device to a first terminal;

sending, by the audio conversion device, an identification code storedin the audio conversion device to the first terminal, and sending theidentification code to a server via the first terminal; wherein theidentification code is stored in the server and used to identify theaudio conversion device;

obtaining, by the first terminal, user data;

uploading, by the first terminal, the user data to the server, whereinthe user data is used to establish a correspondence between theidentification code and the user data in the server;

connecting the audio conversion device to a second terminal;

sending, by the audio conversion device, the identification code storedin the audio conversion device to the second terminal;

sending, by the second terminal, a data obtaining request containing theidentification code to the server; and

receiving, by the second terminal, the user data sent by the server inresponse to the data obtaining request, the user data has thecorrespondence with the identification code, or receiving, by the secondterminal, multimedia data matching multimedia using feature informationin the user data.

A processing system for identifying data by an audio conversion device,including an audio conversion device, a first terminal, and a secondterminal; wherein

the audio conversion device is configured to be connected to the firstterminal;

the audio conversion device is further configured to send anidentification code stored in the audio conversion device to the firstterminal, wherein the identification code is used to identify the audioconversion device;

the first terminal is configured to send the identification code to aserver, and the server stores the identification code;

the first terminal is further configured to obtain user data;

the first terminal is further configured to upload the user data to theserver, and the server stores a correspondence between theidentification code and the user data;

the audio conversion device is further configured to be connected to thesecond terminal;

the audio conversion device is further configured to send theidentification code stored in the audio conversion device to the secondterminal;

the second terminal is configured to send a data obtaining requestcontaining the identification code to the server; and

the second terminal is further configured to receive the user data sentby the server in response to the data obtaining request, the user datahas the correspondence with the identification code, or the secondterminal is further configured to receive multimedia data matchingmultimedia using feature information in the user data.

According to the above processing method and system for identifying databy an audio conversion device, when the audio conversion device isconnected to the first terminal, the identification code stored in theaudio conversion device can be sent to the first terminal. The firstterminal then sends the identification code to the server, and theserver stores the identification code. User data is stored in the servercorresponding to the identification code, by this way, theidentification codes can be used as identifications for distinguishingusers, and the user data belong to a user can be stored in the servercorresponding to the identification code, and a different data servicecan be provided base on the identification code. It's convenient forusers to store their own user data without entering ID code and passwordon the mobile phone. The user data is stored corresponding to theidentification code in the server, when the user change a terminal, orthe user data in the terminal is wiped, the user only need to connectthe audio conversion device to the terminal to obtain the user datastored in the server corresponding to the identification code of theaudio conversion device, implementing a fast restoration of the userdata.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a flow chart of a processing method for identifying data by anaudio conversion device in accordance with an embodiment;

FIG. 2 is a flow chart of a second terminal sending a data obtainingrequest containing an identification code to a server in accordance withan embodiment; and

FIG. 3 is an application scene diagram of a processing system foridentifying data by an audio conversion device in accordance with anembodiment.

DETAILED DESCRIPTION OF THE EMBODIMENTS

Embodiments of the disclosure are described more fully hereinafter withreference to the accompanying drawings. The various embodiments of thedisclosure may, however, be embodied in many different forms and shouldnot be construed as limited to the embodiments set forth herein. Rather,these embodiments are provided so that this disclosure will be thoroughand complete, and will fully convey the scope of the disclosure to thoseskilled in the art. Elements that are identified using the same orsimilar reference characters refer to the same or similar elements.

Referring to FIG. 1, in an embodiment, a processing method foridentifying data by an audio conversion device is provided, whichspecifically includes the following steps:

Step 102, the audio conversion device is connected to a first terminal.

The audio conversion device is a device that can convert audio data andbe connected to a terminal. In an embodiment, the audio conversiondevice can be one of an earphone, a loudspeaker and a music player, etc.The earphone can be one of an ear bud, an in-ear headphone, a heads-freeearphone and an ear-hook headphone, etc. The first terminal can be oneof a mobile phone, a tablet computer, a smart controller, a personalcomputer and a laptop, etc.

In an embodiment, the earphone includes an earphone body and an earphonewire which is connected to the earphone body. The earphone body includesan audible unit. One end of the earphone wire is connected to anearphone body, and the other end of the earphone wire is an earphoneplug. The earphone is electrically connected to the first terminal whilethe earphone plug is inserted into an earphone jack of the firstterminal. The earphone wire can include a wire control device, which canbe positioned on anyplace of the earphone wire. The wire control deviceis configured to send playing control instructions to the firstterminal, such as a pause/play instruction, a fast forward instruction,a backward instruction or a multi-media switch instruction, etc, so asto control the first terminal to perform corresponding operationaccording to the playing control instructions.

In an embodiment, the earphone includes an earphone body. The earphonebody includes an audible unit, a wireless signal transceiver and a powerunit. The power unit is configured to supply power for the audible unitand the wireless signal transceiver. The wireless signal transceiver isconfigured to establish a wireless connection with the first terminal bymatching with a wireless signal transceiver of the first terminal, suchthat the earphone is wireless connected to the first terminal. Thewireless signal transceiver can be a Bluetooth transceiver or a 2.4Gwireless signal transceiver.

Step 104, an identification code stored in the audio conversion deviceis sent to the first terminal by the audio conversion device, and thefirst terminal sends the identification code to a server so as theserver stores the identification code; wherein the identification codeis used to identify the audio conversion device.

Specifically, the audio conversion device further includes a memory anda control unit. When the audio conversion device is an earphone, thememory and the control unit can be assembled on the earphone body or thewire control device of the earphone, and the memory and the control unitcan be packaged in a chip. The memory is configured to store theidentification code, and the identification code, which may be acharacter string, is used to identify different audio conversiondevices. The control unit is configured to read the identification codestored in the memory and send the identification code to the firstterminal when the audio conversion device is connected to the firstterminal. The control unit can be a digital chip. In an embodiment, theidentification code is stored in a memory card inserted into the audioconversion device. The memory card is a non-volatile memory medium. Thenon-volatile memory medium refers to a memory medium that prevents datastored therein from disappearing when electric current is switched off,including a magnetic memory medium, a semiconductor memory medium or anoptical memory medium.

Furthermore, the audio conversion device can modulate the identificationcode into a radio wave via the wireless signal transceiver in the audioconversion device and broadcast the radio wave, and then the firstterminal receives and demodulates the radio wave to obtain theidentification code via a wireless signal transceiver in the firstterminal. Alternatively, when the audio conversion device is anearphone, the earphone can convert the identification code into an audiosignal and send the audio signal to the first terminal, such that thefirst terminal receives the audio signal and de-emphasizes the audiosignal into the identification code. Specifically, the earphone wireincludes a left channel audio circuit, a right channel audio circuit anda microphone circuit, and the earphone can send an audio signalconverted from an identification code of the earphone to the firstterminal via the microphone circuit.

An audio conversion device control application matching the audioconversion device and/or a preset third-party application may be run onthe first terminal. The first terminal can send the identification codeto the server via the control application or the preset third-partyapplication. The first terminal sends the identification code to theserver via a network. The network may be a wifi, a 2G (The secondgeneration of mobile communication technology), a 3G (The thirdgeneration of mobile communication technology) or a 4G(The fourthgeneration of mobile communication technology), etc. The presetthird-party application may be an instant messaging applications, suchas WeChat, QQ, MSN(Microsoft Service Network), or a multimedia playbackapplication, etc.

The server receives and stores the identification code sent by the firstterminal, so that in subsequent use of the audio conversion device, theserver or the first terminal can identify the audio conversion deviceaccording to the identification code. Specifically, when the audioconversion device is connected to the first terminal again, the audioconversion device sends the identification code to the first terminal,and the first terminal uploads the identification code to the server.The server searches at local and determines whether the identificationcode has been stored in the memory of the server or not, if theidentification code has been stored in the memory of the server, theserver can identify the audio conversion device according to theidentification code.

In an embodiment, the step of sending the identification code to theserver via the first terminal, and the server storing the identificationcode includes: the first terminal's identity and the identification codeof the audio conversion device are uploaded correspondingly to theserver by the first terminal, and a correspondence between theidentification code of the audio conversion device and the identity ofthe first terminal is stored in the server. By this way, a correlationbetween the audio conversion device and the first terminal isestablished in the server, and whether the audio conversion device isused by the first terminal can be determined according to thecorrelation in the subsequent use.

Step 106, user data is obtained by the first terminal.

The first terminal can obtain user data stored in the local directly,and user data downloaded to the local via a network, or user data sentfrom other devices. The user data mentioned here refers to user datastored in the local permanently, or cached in the local.

The user data refers to the user data produced in the usage of terminal.The user data includes but not limited to multimedia data, multimediausing feature information, terminal setting information, contactinformation and communication record, etc. Specifically, the firstterminal can obtain the user data stored corresponding to the presetthird-party application, such as multimedia data and multimedia usingfeature information corresponding to the multimedia playbackapplication, terminal setting information corresponding to systemsetting application, contact information and communication recordscorresponding to telephone application.

The multimedia data may be audio files, photos or video files, etc. Themultimedia using feature information refers to feature information ofthe multimedia used by users, such as multimedia file name, volume andmultimedia type, etc. File name words, volume or multimedia types thatoccur more than a preset times can be used as the multimedia featureinformation. The terminal setting information refers to operation ofdesired parameters for running of terminal, such as screen brightness,volume, interface skin and icon arrangement, etc. The communicationrecords refer to records generated in the communication with contacts.

Step 108, the user data is uploaded to the server by the first terminal,a correspondence between the identification code and the user data isestablished and stored in the server.

The user data can be uploaded together with the identification code tothe server by the first terminal, or the identification code is uploadedto the server first and then the user data is uploaded to the serverlater. The server receives the identification code and the user data,and stores them correspondingly.

Step 110, the audio conversion device is connected to a second terminal.

The second terminal can be a terminal different from the first terminal,or the first terminal itself. Specifically, if the second terminal isthe first terminal itself, the step 110 means that the audio conversiondevice is connected to the first terminal again.

Furthermore, if the second terminal is a terminal different from thefirst terminal, an earphone plug of the audio conversion device can bepulled out from an earphone jack of the first terminal and be insertedinto an earphone jack of the second terminal, so that the audioconversion device is electrically connected to the second terminal.Alternatively, the audio conversion device is provided with multipleearphone plugs, such that the audio conversion device can beelectrically connected to the first terminal via an earphone plug and beelectrically connected to the second terminal via another earphone plugat the same time. The audio conversion device may also be wirelesslyconnected to the second terminal by connecting a wireless signaltransceiver of the audio conversion device to a wirelessly signaltransceiver of the second terminal.

Step 112, the identification code stored in the audio conversion deviceis sent to the second terminal by the audio conversion device.

The control unit of the audio conversion device is configured to readidentification code from a memory and send the identification code tothe second terminal when the audio conversion device is connected to thesecond terminal. Specifically, the audio conversion device can modulatethe identification code to radio wave for broadcasting via the wirelesssignal transceiver, and the second terminal receives the radio wave sentfrom the audio conversion device and demodulates the radio wave toobtain the identification code via its wireless signal transceiver.Alternatively, if the audio conversion device is an earphone, theearphone converts the identification code into audio signal and sendsthe audio signal to the second terminal via an earphone wire, and thesecond terminal receives the audio signal and restoring the audio signalinto the identification code. Specifically, the earphone wire includesleft channel circuit and microphone circuit. The earphone can send theaudio signal converted from identification code of the earphone to thesecond terminal via microphone circuit.

Step 114, a data obtaining request containing the identification code issent to the server by the second terminal.

A control application matching the audio conversion device and/or apreset third-party application may be run on the second terminal. Thesecond terminal is triggered by the control application or the presetthird-party application to send the data obtaining request containingthe identification code to the server.

Step 116, the user data sent by the server in response to the dataobtaining request is received by the second terminal, the user data hasthe correspondence with the identification code, or multimedia datamatching multimedia using feature information in the user data isreceived by the second terminal.

The server responds to the data obtaining request sent by the secondterminal, and searches the user data corresponding to the identificationcode contained in the data obtaining request according to thecorrespondence between the identification code stored at local and theuser data. When the user data is found, the server will return the userdata to the second terminal, and the second terminal receives the userdata and stores it corresponding to the identification code. If the userdata has not been found, the server will return a feedback informationrepresenting a failed request to the second terminal. Specifically, theuser data corresponding to the identification code can be storedcorresponding to application identifier of the preset third-partyapplication, and the user data acquired by the second terminal is storedin the second terminal under the specified path of the presetthird-party application.

The user data includes multimedia using feature information. The secondterminal receives the multimedia data sent by the server in response tothe data obtaining request, and the multimedia data matches multimediausing feature information corresponding to the identification code.

Specifically, the server can not only return the user data to the secondterminal, but also return the multimedia data relevant to the user datato the second terminal. Specifically, a multimedia database is built inthe server, and multimedia using feature information can be extractedfrom the multimedia data in the multimedia database. Therefore, when thedata obtaining request is received, the server returns the multimediadata corresponding to the identification code containing multimediafeature information matched with the multimedia using featureinformation.

According to the above processing method and system for identifying databy an audio conversion device, when the audio conversion device isconnected to the first terminal, the identification code stored in theaudio conversion device can be sent to the first terminal. The firstterminal then sends the identification code to the server, and theserver stores the identification code. User data is stored in the servercorresponding to the identification code, by this way the identificationcodes can be used as identifications for distinguishing users and theuser data belong to a user can be stored in the server corresponding tothe identification code, and a different data service can be providedbase on the identification code. It's convenient for users to storetheir own user data without entering ID code and password on the mobilephone. The user data is stored corresponding to the identification codein the server, when the user change a terminal, or the user data in theterminal is wiped, the user only need to connect the audio conversiondevice to the terminal to obtain the user data stored in the servercorresponding to the identification code of the audio conversion device,implementing a fast restoration of the user data.

In an embodiment, the method further includes: a data obtaining requestcontaining the identification code is sent by the first terminal; theuser data sent by the server in response to the data obtaining requestis received by the first terminal, and the user data has correspondencewith the identification code, or multimedia data matching multimediausing feature information in the user data is received by the secondterminal.

In an embodiment, the audio conversion device can be an earphone, andthe earphone includes an earphone body and an earphone wire connected tothe earphone body. The earphone wire is provided with a wire controldevice configured to store the identification code of the earphone. Theearphone wire is configured to be connected to the first terminal and/orthe second terminal.

In an embodiment, the processing method for identifying data by an audioconversion device further includes step 11) to step 12):

Step 11), a login validate credential inputting request is received bythe first terminal or the second terminal, and an inputted loginvalidate credential according to the login validate credential inputtingrequest is obtained.

When the audio conversion device is connected to the first terminal, thefirst terminal receives a login validate credential inputting requestand obtains an inputted login validate credential according to the loginvalidate credential inputting request. When the audio conversion deviceis connected to the second terminal, the second terminal receives thelogin validate credential inputting request and obtains the inputtedlogin validate credential according to the login validate credentialinputting request.

The login validate credential refers to data for validating a user loginrequest by the server during a subsequent login operation. The loginvalidate credential may be account number and/or a password, or a userbiological feature, such as a fingerprint, an iris, a facial appearanceor a palm print, etc.

In an embodiment, the step 11) includes: an inputting request of accountnumber and/or password is received by the first terminal or the secondterminal, an input field of account number and/or password is popped upaccording to the inputting request of account number and/or password onthe first terminal or the second terminal, and the inputted accountnumber and/or the inputted password are obtained in the input field ofaccount number and/or password.

In an embodiment, the step 11) includes: an inputting request ofbiological feature is received by the first terminal or the secondterminal, and the first terminal or the second terminal collects a userbiological feature via biological feature collector according to theinputting request of biological feature. The user biological featureincludes at least one of a fingerprint, an iris, a facial appearance anda palm print.

The step 12), a correspondence between the login validate credential andthe identification code is stored in local by the first terminal or thesecond terminal, and/or, the login validate credential is uploaded tothe server by the first terminal or the second terminal, so that thecorrespondence between the login validate credential and theidentification code is stored in the server. The login validatecredential is used for login and verification.

The first terminal or the second terminal can obtain the account numberand/or password as login validate credential, or, collect a userbiological feature as login validate credential, and uploads the loginvalidate credential to the server. Correspondence between the loginvalidates credential and the identification code is stored in theserver, such that the correspondence can be used as credential for loginand verification in subsequent usage.

Referring to FIG. 2, in an embodiment, the step 114 specificallycomprises:

Step 202, an inputted login credential is obtained by the secondterminal.

The second terminal can trigger a login request when the second terminalreceives the identification code sent by the audio conversion device,and receive the login request via the control application of the audioconversion device or the preset third-party application. Alternatively,the second terminal can trigger a login request when a user is trying toaccess a controlling interface of the control application or the presetthird-party application, and receive the login request via the controlapplication of the audio conversion device or the preset third-partyapplication.

The login validate credential is provided by a user to prove the user'sidentity. If the login validate credential is an account number and/or apassword, the second terminal will pop up a login interface according tothe login request and obtain an account number and/or a passwordinputted in the login interface by a user. If the login validatecredential is a user biological feature, the second terminal willcollect the user biological feature according to the login request, andthe type of the user biological feature is consistent with the type ofthe user biological feature collected in inputting login validatecredential.

Step 204, a login request containing the identification code and thelogin credential is sent to the server by the second terminal, and anidentity is authenticated, by the server, according to the logincredential and the login validate credential stored corresponding to theidentification code.

The second terminal sends the login request to the server, and the loginrequest contains the identification code and the login credential. Theserver compares the login credential and the login validate credentialcorresponding to the identification code according to the login request,and authenticates the user identity when the login credential is matchedwith the login validate credential corresponding to the identificationcode.

Step 206, the data obtaining request containing the identification codeis sent to the server by the second terminal while the second terminalreceives a feedback representing authentication success returned fromthe server.

The server returns a feedback representing authentication success to thesecond terminal when the server determines that the login credentialmatches the login validate credential stored corresponding to theidentification code; on the contrary, the server returns a feedbackrepresenting authentication fail to the second terminal when the serverdetermines that the login credential does not match the login validatecredential stored corresponding to the identification code. The secondterminal will gain access to send a data obtaining request containingthe identification code to the server via the control application of theaudio conversion device or the preset third-party application when thesecond terminal receives the feedback representing authenticationsuccess.

In the illustrated embodiment, when the audio conversion device isconnected to the second terminal, the second terminal tries to obtainuser data corresponding to the identification code from the server, andthe authentication can ensure the safety of the user data.

In an embodiment, the step 114 further includes: an inputted logincredential is obtained by the second terminal; an identity isauthenticated by the second terminal according to the login credentialand the login validate credential which is stored corresponding to theidentification code, and a data obtaining request containing theidentification code is sent to the server when the second terminalreceives a feedback representing authentication success.

In an embodiment, the processing method further includes: an inputtedlogin credential is obtained by the first terminal. A login requestcontaining an identification code and a login credential is sent to theserver by the first terminal, and the server authenticates an identityaccording to the login credential and the login validate credentialstored corresponding to the identification code. The first terminal willsend a data obtaining request containing the identification code to theserver when the first terminal receives a feedback representingauthentication success returned from the server. The first terminalreceives the user data sent by the server in response to the dataobtaining request, the user data has the correspondence with theidentification code, and/or the second terminal receives multimedia datamatching multimedia using feature information in the user data.

Referring to FIG. 3, in an embodiment, a processing system foridentifying data by an audio conversion device is provided, and theprocessing system is used to implement the processing method foridentifying data by an audio conversion device in the above embodiments.

The audio conversion device 301 is configured to be connected to thefirst terminal 302.

In an embodiment, the audio conversion device 301 can be an earphone, aloudspeaker or a music player. In an embodiment, the earphone includesan earphone body and an earphone wire connected to the earphone body.The earphone body includes an audible unit configured to produce sound.An end of the earphone wire is connected to the earphone body, the otherend of the earphone wire is an earphone plug, and the earphone plug isconfigured to insert into the earphone jack of the first terminal 302.The earphone wire provides a wire control device, and the wire controldevice can be configured in anywhere of the earphone wire. The wirecontrol device is configured to send a playing control instruction suchas a pause/play instruction, a fast forward instruction, a backwardinstruction or a multi-media switch instruction, etc, to the firstterminal 302 connecting with the earphone via the earphone wire, so asto control the first terminal 302 to perform corresponding operationaccording to the playing control instruction.

In an embodiment, the earphone includes an earphone body, and theearphone body includes an audible unit, a wireless signal transceiverand a power unit. The power unit is configured to supply power for theaudible unit and the wireless signal transceiver. The wireless signaltransceiver in the earphone is configured to establish a wirelessconnection with the wireless signal transceiver of the first terminal302, so that a wireless connection is established between the earphoneand the first terminal 302. The wireless signal transceiver can be abluetooth transceiver or a 2.4G wireless signal transceiver.

The audio conversion device 301 is further configured to send theidentification code stored in the audio conversion device to the firstterminal 302.

Specifically, the audio conversion device 301 further includes a memoryand a control unit. While the audio conversion device is an earphone,the memory and the control unit can be assembled on the earphone body orwire control device of the earphone, and the memory and the control unitcan be packaged in a chip. The memory is configured to store theidentification code, and the identification code, which may be acharacter string, is used to identify different audio conversion devices301. The control unit is configured to read the identification codestored in the memory and send the identification code to the firstterminal 302 when the audio conversion device 301 is connected to thefirst terminal 302. The control unit can be a digital chip. In anembodiment, the identification code is stored in a memory card insertedinto the audio conversion device 301. The memory card is a non-volatilememory medium. The non-volatile memory medium refers to a memory mediumthat prevents data stored therein from disappearing when electriccurrent is switched off, including a magnetic memory medium, asemiconductor memory medium or an optical memory medium.

Furthermore, the audio conversion device can modulate the identificationcode into a radio wave via the wireless signal transceiver in the audioconversion device and broadcast the radio wave, and then the firstterminal receives and demodulates the radio wave to obtain theidentification code via a wireless signal transceiver in the firstterminal. Alternatively, the audio conversion device is an earphone. Theearphone can convert the identification code into an audio signal andsend the audio signal to the first terminal, such that the firstterminal receives the audio signal and de-emphasizes the audio signalinto the identification code. Specifically, the earphone wire includes aleft channel audio circuit and a microphone circuit, and the earphonecan send an audio signal converted from an identification code of theearphone to the first terminal via the microphone circuit.

The first terminal 302 is configured to send the identification code tothe server 310, and the identification code is stored in the server 310.The identification code is used to identify the audio conversion device301.

The first terminal 302 is configured to send the identification code tothe server 310 via the control application or the preset third-partyapplication. The preset third-party application may be WeChat, QQ,MSN(Microsoft Service Network), etc, or a multimedia playbackapplication, etc.

The server 310 is configured to store the identification code when theserver 310 receives the identification code sent by the first terminal302, so that in subsequent use of the audio conversion device, theserver 310 or the first terminal 302 can identify the audio conversiondevice 301 according to the identification code. Specifically, when theaudio conversion device 301 is connected to the first terminal 302again, the audio conversion device 301 will send the identification codeto the first terminal 302, and then the first terminal 302 will uploadthe identification code to the server 310. The server 310 searcheswhether the identification code has been stored in the memory of theserver 310 and the server 310 is able to identify the audio conversiondevice 301 according to the identification code.

In an embodiment, the first terminal 302 is configured to send a firstterminal identification and the corresponding identification code to theserver 310, and a correspondence between the identification code and thefirst terminal identification is stored in the server 310. By this way,a correlation between the audio conversion device 301 and the firstterminal 302 is established in the server 310, and whether the audioconversion device is used by the first terminal can be determinedaccording to the correlation in subsequent applications.

The first terminal 302 is further configured to obtain user data.

The first terminal 302 is also configured to obtain the user data storedin the local directly, or obtain the user data downloaded to the localvia network, or obtain the user data from other devices. The user datacan be stored in the local permanently, or only be cached at local.

The user data refers to the user data produced in the usage of the firstterminal 302. The user data includes but not limited to multimedia data,multimedia using feature information, terminal setting information,contact information and communication records, etc. Specifically, thefirst terminal 302 is configured to obtain the user data storedcorresponding to the preset third-party application, such as multimediadata and multimedia using feature information corresponding to themultimedia playback application, terminal setting informationcorresponding to system setting application, contact information andcommunication records corresponding to telephone application.

The multimedia data may be audio files, photos or video files, etc. Themultimedia using feature information refers to feature information ofthe multimedia used by users, such as multimedia file name, volume andmultimedia type, etc. File name words, volume or multimedia types thatoccur more than a preset times can be used as the multimedia featureinformation. The terminal setting information refers to operation ofdesired parameters for running of terminal, such as screen brightness,volume, interface skin and icon arrangement, etc. The communicationrecords refers to records generated in the communication with contacts.

The first terminal 302 is further configured to send the user data tothe server 310, such that the server 310 stores the correspondencebetween the identification code and the user data.

The first terminal 302 is configured to upload the identification codetogether with the user data to the server 310, or upload theidentification code to the server 310 first and upload the user data tothe server 310 later. The server 310 receives the identification codeand the user data, and stores them correspondingly.

The audio conversion device 301 is further configured to be connected tothe second terminal 303.

The second terminal 303 can be a terminal different from the firstterminal 302, or the second terminal 303 can be the first terminal 302itself. Specifically, if the second terminal 303 is the first terminal302 itself, the step 110 means that the audio conversion device 301 isconnected to the first terminal 302 again.

Furthermore, if the second terminal 303 is a terminal different from thefirst terminal 302, an earphone plug of the audio conversion device 301can be pulled out from an earphone jack of the first terminal 302 and beinserted into an earphone jack of the second terminal 303, so that theaudio conversion device 301 is electrically connected to the secondterminal 303. Alternatively, the audio conversion device 301 is providedwith multiple earphone plugs, the audio conversion device 301 can beelectrically connected to the first terminal 302 via an earphone plugand be electrically connected to the second terminal 303 via anotherearphone plug at the same time. The audio conversion device 301 may alsobe wirelessly connected to the second terminal by connecting a wirelesssignal transceiver of the audio conversion device 301 to a wirelesslysignal transceiver of the second terminal 303.

The audio conversion device 301 is further configured to send theidentification code stored in the audio conversion device 301 to thesecond terminal 303.

The control unit of the audio conversion device 301 is configured toread an identification code from a memory and send the identificationcode to the second terminal 303 when the audio conversion device 301 isconnected to the second terminal 303. Specifically, the audio conversiondevice 301 can modulate the identification code into a radio wave forbroadcasting via the wireless signal transceiver. The second terminal303 receives the radio wave sent from the audio conversion device 301and demodulates the radio wave to obtain the identification code via itswireless signal transceiver. Alternatively, the audio conversion device301 is an earphone. The earphone converts the identification code intoaudio signal and sends the audio signal to the second terminal 303 viaan earphone wire, and the second terminal 303 receives the audio signaland de-emphases the audio signal to the identification code.Specifically, the earphone wire includes left channel circuit andmicrophone circuit. The earphone can send the audio signal convertedfrom identification code of the earphone to the second terminal 303 viamicrophone circuit.

The second terminal 303 is configured to send a data obtaining requestcontaining the identification code to the server 310.

The second terminal 303 is configured to be triggered by the controlapplication or the preset third-party application and send the dataobtaining request containing the identification code to the server.

The second terminal 303 is further configured to receive the user datasent by the server 310 in response to the data obtaining request, andthe user data corresponding to the identification code, or receivemultimedia data matching multimedia using feature information in theuser data.

The server 310 is configured to respond to the data obtaining requestsent by the second terminal 303, and searches the user datacorresponding to the identification code contained in the data obtainingrequest according to the correspondence between the identification codestored at local and the user data. If the user data is found, the server310 will return the user data to the second terminal 303, and the secondterminal 303 receives the user data and stores it corresponding to theidentification code. If the user data has not been found, the server 310will return feedback information representing a failed request to thesecond terminal 303. Specifically, the user data corresponding to theidentification code can be stored corresponding to applicationidentifier of the preset third-party application, and the secondterminal 303 stores acquired user data under the specified path of thepreset third-party application.

The user data may includes multimedia using feature information. Thesecond terminal 303 receives the multimedia data sent by the server 310in response to the data obtaining request, and the multimedia datamatches multimedia using feature information corresponding to theidentification code.

Specifically, the server 310 can not only return the user data to thesecond terminal 303, but also return the multimedia data relevant to theuser data to the second terminal 303. Specifically, a multimediadatabase is built in the server 310, and multimedia using featureinformation can be extracted from the multimedia data in the multimediadatabase. Therefore, when the data obtaining request is received, theserver 310 returns the multimedia data corresponding to theidentification code, and the multimedia data containing multimediafeature information matched with the multimedia using featureinformation.

According to the above processing method and system for identifying databy an audio conversion device, when the audio conversion device 301 isconnected to the first terminal 302, the identification code stored inthe audio conversion device 301 can be sent to the first terminal 302.The first terminal 302 then sends the identification code to the server310, and the server 310 stores the identification code. User data isstored in the server corresponding to the identification code, by thisway the identification codes can be used as identifications fordistinguishing users and the user data belong to a user can be stored inthe server 310 corresponding to the identification code, and a differentdata service can be provided base on the identification code. It'sconvenient for users to store their own user data without entering IDcode and password on the mobile phone. The user data is storedcorresponding to the identification code in the server 310, when theuser change a terminal, or the user data in the terminal is wiped, theuser only need to connect the audio conversion device 301 to theterminal to obtain the user data stored in the server 310 correspondingto the identification code of the audio conversion device, implementinga fast restoration of the user data.

In an embodiment, the first terminal 302 is further configured to sendthe data obtaining request containing the identification code to theserver 310; the first terminal 302 is further configured to receive userdata sent by the server 310 in response to the data obtaining request,and the user data has correspondence with the identification code, or,the second terminal 303 is further configured to receive multimedia datamatching multimedia using feature information in the user data.

In an embodiment, the audio conversion device 301 can be an earphone,and the earphone includes an earphone body and an earphone wireconnected to the earphone body. The earphone wire is provided with awire control device, and the wire control device is configured to storethe identification code. The earphone wire is configured to be connectedto the first terminal 302 and/or the second terminal 303.

In an embodiment, the first terminal 302 or the second terminal 303 isfurther configured to receive a login validate credential inputtingrequest, and obtain an inputted login validate credential according tothe login validate credential inputting request.

When the audio conversion device 301 is connected to the first terminal302, the first terminal 302 is configured to receive a login validatecredential inputting request, and obtain an inputted login validatecredential according to the login validate credential inputting request;when the audio conversion device 301 is connected to the second terminal303, the second terminal 303 is configured to receive the login validatecredential inputting request and obtain the inputted login validatecredential according to the login validate credential inputting request.

In an embodiment, the first terminal 302 or the second terminal 303 isconfigured to receive an inputting request of account number and/orpassword, pop up an input field of account number and/or passwordaccording to the inputting request of account number and/or password,and obtain an inputted account number and/or a password in the inputfield of account number and/or password.

In an embodiment, the first terminal 302 or the second terminal 303 isconfigured to receive an inputting request of biological feature andcollect a user biological feature via a biological feature collectoraccording to the inputting request of biological feature. The userbiological feature includes at least one of fingerprint, iris, facialappearance and palm print.

The first terminal 302 or the second terminal 303 is further configuredto upload the login validate credential to the server 310, and theserver 310 stores a correspondence between the login validate credentialand the identification code. The login validate credential is configuredfor login and verification.

The first terminal 302 or the second terminal 303 obtains an accountnumber and/or a password as a login validate credential, or, collects auser biological feature as a login validate credential, and uploads thelogin validate credential to the server 310. The server 310 stores thecorrespondence between the login validate credential and theidentification code, and the correspondence can be used as a credentialfor login and verification in subsequent usage.

In an embodiment, the second terminal 303 is further configured toobtain an inputted login credential.

The second terminal 303 is configured to trigger a login request andreceive the login request via the control application of the audioconversion device 301 or the preset third-party application when thesecond terminal 303 receives the identification code sent by the audioconversion device 301. Alternatively, the second terminal 303 isconfigured to trigger a login request and receive the login request viathe control application of the audio conversion device 301 or the presetthird-party application when a user is trying to access a controllinginterface of the control application or the preset third-partyapplication.

The login validate credential is provided by a user to prove the user'sidentity. If the login validate credential is an account number and/or apassword, the second terminal 303 will display a login interfaceaccording to the login request and obtain an account number and/or apassword inputted in the login interface by a user. If the loginvalidate credential is a user biological feature, the second terminal303 will collect the user biological feature according to the loginrequest, and the type of the user biological feature is consistent withthe type of the user biological feature collected in inputting loginvalidate credential.

The second terminal 303 is further configured to send a login requestcontaining the identification code and the login credential to theserver 301, and the server 310 authenticates an identity according tothe login credential and the login validate credential storedcorresponding to the identification code.

The second terminal 303 is further configured to send the login requestto the server, and the login request contains the identification codeand the login credential. The server 310 is configured to authenticateaccording to login request via comparison between the login credentialand the login validate credential corresponding to the identificationcode.

The second terminal 303 is further configured to send the data obtainingrequest containing the identification code to the server while thesecond terminal receives a feedback representing authentication successreturned from the server.

The server 310 is configured to return a feedback representingauthentication success to the second terminal 303 if the server 310determines that the login credential is matched with the login validatecredential stored corresponding to the identification code; on thecontrary, the server 310 is configured to return a feedback representingauthentication fail to the second terminal if the server 310 determinesthat the login credential is not matched with the login validatecredential stored corresponding to the identification code. The secondterminal 303 will gain access to send a data obtaining requestcontaining the identification code to the server 310 via the controlapplication of the audio conversion device 301 or the preset third-partyapplication when the second terminal 303 receives the feedbackrepresenting authentication success.

In the illustrated embodiment, when the audio conversion device isconnected to the second terminal 303 and the second terminal 303 triesto obtain user data corresponding to the identification code from theserver 310, the safety of the user data is ensured via authentication.

In an embodiment, the second terminal 303 is further configured toobtain an inputted login credential; the second terminal 303 is furtherconfigured to authenticate an identity according to the login credentialand the login validate credential which is stored corresponding to theidentification code, and send a data obtaining request containing theidentification code to the server 310 when the second terminal 303receives a feedback representing authentication success.

When the integrated unit is implemented in the form of a softwarefunctional unit and sold or used as an independent product, theintegrated unit may be stored in a computer-readable storage medium.Based on such an understanding, the technical solutions of the presentinvention essentially, or the part contributing to the prior art, or allor a part of the technical solutions may be implemented in the form of asoftware product. The software product is stored in a storage medium andincludes several instructions for instructing a computer device (whichmay be a personal computer, a server, or a network device) to performall or a part of the steps of the methods described in the embodimentsof the present invention. The foregoing storage medium includes: anymedium that can store program code, such as a universal serial bus (USB)flash drive, a removable hard disk, a read-only memory (ROM), a randomaccess memory (RAM), a magnetic disk, or an optical disc.

Although the invention is illustrated and described herein withreference to specific embodiments, the invention is not intended to belimited to the details shown. Rather, various modifications may be madein the details within the scope and range of equivalents of the claimsand without departing from the invention.

What is claimed is:
 1. A processing method for identifying data by anaudio conversion device, comprising: connecting the audio conversiondevice to a first terminal; sending, by the audio conversion device, anidentification code stored in the audio conversion device to the firstterminal, and sending the identification code to a server via the firstterminal; wherein the identification code is stored in the server andused to identify the audio conversion device; obtaining, by the firstterminal, user data; uploading, by the first terminal, the user data tothe server, wherein the user data is used to establish a correspondencebetween the identification code and the user data in the server;connecting the audio conversion device to a second terminal; sending, bythe audio conversion device, the identification code stored in the audioconversion device to the second terminal; sending, by the secondterminal, a data obtaining request containing the identification code tothe server; and receiving, by the second terminal, the user data sent bythe server in response to the data obtaining request, the user data hasthe correspondence with the identification code, or receiving, by thesecond terminal, multimedia data obtained and sent by the server inaccordance with the identification code in response to the dataobtaining request, wherein the multimedia data is matched withmultimedia using feature information of the user data, the multimediausing feature information corresponds to the identification code.
 2. Themethod according to claim 1, wherein the audio conversion devicecomprises one of an earphone, a loudspeaker, and a music player.
 3. Themethod according to claim 1, wherein the identification code is storedin a memory card inserted in the audio conversion device.
 4. The methodaccording to claim 1, wherein the audio conversion device is anearphone, the sending the identification code stored in the audioconversion device to the first terminal by the audio conversion devicecomprises: converting, by the earphone, the identification code into anaudio signal and sending the audio signal to the first terminal via anearphone wire, receiving, by the first terminal, the audio signal andrestoring the audio signal to the identification code.
 5. The methodaccording to claim 1, further comprising: receiving, by the firstterminal, a login validate credential inputting request, and obtainingan inputted login validate credential according to the login validatecredential inputting request; uploading, by the first terminal, thelogin validate credential to the server, wherein the server stores acorrespondence between the login validate credential and theidentification code.
 6. The method according to claim 5, furthercomprising: obtaining, by the first terminal, an inputted logincredential; sending, by the first terminal, a login request containingthe identification code and the login credential to the server, andauthenticating an identity, by the server, according to the logincredential and the login validate credential stored corresponding to theidentification code; sending, by the first terminal, the data obtainingrequest containing the identification code to the server when the firstterminal receives a feedback representing authentication successreturned from the server; and receiving, by the first terminal, the userdata corresponding to the identification code sent by the server inresponse to the data obtaining request, or multimedia data matchingmultimedia using feature information in the user data.
 7. The methodaccording to claim 1, wherein the audio conversion device is anearphone, the earphone comprises an earphone body and an earphone wirewith a wire control device, the earphone wire is connected to theearphone body, the wire control device is configured to store theidentification code; the earphone wire is configured to connect thefirst terminal or the second terminal.
 8. A processing system foridentifying data by an audio conversion device, comprising: an audioconversion device, a first terminal, and a second terminal; wherein theaudio conversion device is configured to be connected to the firstterminal; the audio conversion device is further configured to send anidentification code stored in the audio conversion device to the firstterminal, wherein the identification code is used to identify the audioconversion device; the first terminal is configured to send theidentification code to a server, and the server stores theidentification code; the first terminal is further configured to obtainuser data; the first terminal is further configured to upload the userdata to the server, and the server stores a correspondence between theidentification code and the user data; the audio conversion device isfurther configured to be connected to the second terminal; the audioconversion device is further configured to send the identification codestored in the audio conversion device to the second terminal; the secondterminal is configured to send a data obtaining request containing theidentification code to the server; and the second terminal is furtherconfigured to receive the user data sent by the server in response tothe data obtaining request, the user data has the correspondence withthe identification code, or the second terminal is further configured toreceive multimedia data of the user data having the correspondence withthe identification code sent in response to the data obtaining requestby the server, wherein the multimedia data is matched with multimediausing feature information.
 9. The system according to claim 8, whereinthe audio conversion device comprises one of an earphone, a loudspeaker,and a music player.
 10. The system according to claim 8, wherein theidentification code is stored in a memory card inserted in the audioconversion device.
 11. The system according to claim 8, wherein theaudio conversion device is an earphone, the earphone is configured toconvert the identification code into an audio signal and send the audiosignal to the first terminal via an earphone wire, the first terminal isfurther configured to receive the audio signal and restore the audiosignal to the identification code.
 12. The system according to claim 8,wherein the first terminal is further configured to receive a loginvalidate credential inputting request, and obtain an inputted loginvalidate credential according to the login validate credential inputtingrequest; the first terminal is further configured to upload the loginvalidate credential to the server, and the server stores acorrespondence between the login validate credential and theidentification code.
 13. The system according to claim 12, wherein thefirst terminal is further configured to obtain an inputted logincredential; send a login request containing the identification code andthe login credential to the server, and the server authenticates anidentity according to the login credential and the login validatecredential stored corresponding to the identification code; send thedata obtaining request containing the identification code to the serverwhen the first terminal receives a feedback representing authenticationsuccess returned from the server; and receive the user data sent by theserver in response to the data obtaining request, the user data has thecorrespondence with the identification code, or receive multimedia dataof the user data having the correspondence with the identification codesent in response to the data obtaining request by the server, whereinthe multimedia data is matched with multimedia using featureinformation.
 14. The system according to claim 8, wherein the audioconversion device is an earphone, the earphone comprises an earphonebody and an earphone wire with a wire control device, the earphone wireis connected to the earphone body, the wire control device is configuredto store the identification code; the earphone wire is configured toconnect the first terminal or the second terminal.